package com.gzq.common_core.session;

public interface ISession<U extends ISessionUser, T extends ISessionUserToken> {
    void setUser(U user);

    U getUser();

    void setUserToken(T token);

    T getUserToken();

    boolean isLogin();

    void clear();
}
